package com.project_doctor.handler;


import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import java.awt.print.Book;
import java.util.List;

@Component
@Slf4j
public class StorageRunner implements CommandLineRunner  {



    @Autowired
    RedisTemplate<String,Object> redisTemplate;

    // 热销榜数据初始化
    @Override
    public void run(String... args) throws Exception {

        log.info("库存预热,初始化完成");
    }
}
